$(function() {
	$('#taskType').combobox("select", -1);
	doSearch();
});

function doSearch() {
	var currNum = [];
	 var timeX = [];
	$.ajax({
		url : '/bandwidth/configList',
/*		data : {
			taskType : taskType,
			currDay : currDay
		},
*/		type : "POST",
		datatype : "json",
		async : true,
		success : function(data) {
			var currData = eval(data);
			$.each(currData, function(index, mod) {
				currNum.push(mod.size/(1024*1024));
				timeX.push(mod.ctime+"0:00");
			});
			taskHandler.showHighChart(currNum,timeX);
			//$('#tt').datagrid('loadData', currData);
		}
	});
}
